<!-- 部门 表格-->
<div class="bg-white bread-crumb">
    <ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
        <li><a ui-sref="app.dashboard"><i class="fa fa-home"></i> 首页</a></li>
        <li><a ui-sref="app.sysdept.list">部门管理</a></li>
        <li class="active" ng-bind="title"></li>
        <button class="btn btn-sm btn-icon btn-default pull-right" ng-click="$state.reload()"><i
                class="icon icon-refresh"></i></button>
    </ul>
</div>
<div class="wrapper-sm">
    <div class="panel panel-default">
            <div class="panel-body">
                <form name="form" class="form-horizontal form-validation">

                                                                                                                    <div class="line line-dashed b-b line-lg pull-in"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span class="text-danger wrapper-sm">*</span>隶属企业</label>
                                <div class="col-sm-10">
                                    <input type="text" ng-model="sysDept.entpId" class="form-control w-md" ng-maxlength="100" required>
                                </div>
                            </div>
                                                                                                <div class="line line-dashed b-b line-lg pull-in"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span class="text-danger wrapper-sm">*</span>部门名称</label>
                                <div class="col-sm-10">
                                    <input type="text" ng-model="sysDept.deptName" class="form-control w-md" ng-maxlength="100" required>
                                </div>
                            </div>
                                                                                                <div class="line line-dashed b-b line-lg pull-in"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span class="text-danger wrapper-sm">*</span>上级部门编号</label>
                                <div class="col-sm-10">
                                    <input type="text" ng-model="sysDept.parentId" class="form-control w-md" ng-maxlength="100" required>
                                </div>
                            </div>
                                                                                                <div class="line line-dashed b-b line-lg pull-in"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span class="text-danger wrapper-sm">*</span>排序号</label>
                                <div class="col-sm-10">
                                    <input type="text" ng-model="sysDept.sortNo" class="form-control w-md" ng-maxlength="100" required>
                                </div>
                            </div>
                                                                                                <div class="line line-dashed b-b line-lg pull-in"></div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label"><span class="text-danger wrapper-sm">*</span>叶子节点(0:树枝节点;1:叶子节点)</label>
                                <div class="col-sm-10">
                                    <input type="text" ng-model="sysDept.leaf" class="form-control w-md" ng-maxlength="100" required>
                                </div>
                            </div>
                                                                                                                                                                                                                                                                                                                                        <div class="line line-dashed b-b line-lg pull-in"></div>


                    <div class="form-group">
                        <div class="col-sm-4 col-sm-offset-2">
                            <button type="button" class="btn btn-default" ng-disabled="form.$invalid" ng-click="saveData()">
                                保存
                            </button>
                            <a class="btn btn-primary" ui-sref="app.sysdept.list">取消</a>
                        </div>
                    </div>

                </form>
            </div>
    </div>
</div>
